package com.crm.model.vo.couponManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author:chaifuyou
 * @Date: 2021/5/11 16:02
 */
@Data
public class CouponVO {

    private String chsCustomerCouponId;

    private String couponName;

    private Short couponType;

    private BigDecimal couponQuota;

    private BigDecimal couponDiscount;

    private Short couponStatus;

    private Integer couponUseCount;

    private Integer couponCount;

    private Short couponProperty;

    private Short deleteStatus;

    private String createPeopleId;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTm;

    private String updatePeopleId;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTm;

    private Short scopeOfApplication;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
    private Date validPeriod;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
    private Date validPeriodStart;

    private Short useType;

    private List<Map<String,String>> productNameList;

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd hh:mm:ss",timezone="GMT+8")
    private Date issuedTime;

    //消费记录
    private List<CouponPayListVO> payList;

    private String receiveCouponId;

}
